<?php
namespace Admin\Controller;

use Common\Controller\CoreController;
use Think\Controller;

/**
 * Created by IntelliJ IDEA.
 * User: fanxu(746439274@qq.com)
 * Date: 15/7/6
 * Time: 下午11:51
 */

class BaseController extends CoreController{
    protected $user = [];

    protected function _initialize(){
        header('Location: /Admin/Lock/index.html');exit;
        parent::_initialize();
        layout('layout/main');
    }

    protected function _empty(){
        layout(false);
        $this->display();
    }

}